package com.grape.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *
 * 角色权限中间表 实体类
 *
 * @author  putao
 * @email   2628279194@qq.com
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_role_permission")
@NoArgsConstructor
@AllArgsConstructor
public class SysRolePermission extends Base implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 权限id
     */
    @ApiModelProperty("权限id")
    private String permissionId;
    /**
     * 角色id
     */
    @ApiModelProperty("角色id")
    private String roleId;
}
